To change the file-copy function to a move-file function, you need to add only one Visual Basic statement to the routine. After you successfully copy the file to the destination, you have to delete it from the source directory. To do so, insert the following line of code immediately after the two Close statements:
Kill strFrom_Filename
This statement deletes the file referenced by the variable.
Day 2, The Windows Common Dialog in Use
Quiz
1. The Dialog Automation Object doesn't access the Windows help engine.
2. The help function doesn't have its own dialog box to display; instead, it accesses the Windows help engine to display the referenced help file.
3. To use the Common Dialog's Open dialog box, you need to set these properties:
Any answers or example code that I could put here would match what's already in the chapter. So for this exercise, you can decide for yourself what the answer is, and it's not even cheating.
Day 3, Changing the Face of the Application
Quiz..
1. You can create an MDI application by adding an MDI parent form to your project and then setting other forms' MDIChild property to True.